package com.example.demo.controller;

import com.example.demo.bean.dc_sku_relate_bom;
import com.example.demo.service.ISynService;
import com.example.demo.util.StaticUtil;
import com.pinza.kingdee.Bean.KingDeeQueryBean;
import com.pinza.kingdee.webapi.KingDeeApi;
import kingdee.bos.webapi.client.K3CloudApiClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@RestController
public class PersonController {
   @Autowired
   private ISynService synService;

    @GetMapping("qqqqq")
    public int  synStaff() {
        List<String> sendlist = new ArrayList<>();
        sendlist.add("CTM20200224183157");
        sendlist.add("CTM20200117154959");
        List<String> list = synService.customerCodelist(sendlist);
        System.out.println(list);
        return 0;
    }


}
